package com.gaofei.hr.tasks;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;

/**
 * @author : gaofee
 * @date : 10:56 2021/6/3
 * @码云地址 : https://gitee.com/itgaofee
 */
@Configuration
public class ThreadConfig {

    @Bean
    public ThreadPoolTaskScheduler threadPoolTaskScheduler() {
        return new ThreadPoolTaskScheduler();
    }
}
